package com.yuexin.project.mobile;

public enum  ResultCode {

    SUCCESS(0, "success"),
    FAILURE(1, "fail"),
    WARN(-1, "网络异常，请稍后重试");

    private int code;
    private String msg;

    ResultCode(int code, String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}

